﻿@model SiteConfigViewModel
	<div class="layui-row layui-col-space15">
		<div class="layui-col-md12">
			<div class="layui-card">
				<div class="layui-card-header">网站信息设置</div>
				<div class="layui-card-body" pad15>

					<form asp-controller="SiteConfig" asp-action="Index" class="layui-form" wid100 lay-filter="">
						<div class="layui-form-item">
							<label class="layui-form-label">网站名称</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteName" class="layui-input" placeholder="控制在25个字以内">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">网站地址</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteUrl" placeholder="例：http://www.baidu.com" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">网站Title</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteTitle" placeholder="用于SEO优化，控制在25个字以内" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">META关键词</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.MetaKeywords" placeholder="用于SEO优化，例：关键字,关键字1,关键字2" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">META描述</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.MetaDescription" placeholder="用于SEO优化，控制在100个字以内" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">站长姓名</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.Webmaster" placeholder="例：李四" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">站长邮箱</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.WebmasterEmail" placeholder="例：123456789@qq.com" class="layui-input">
								<span asp-validation-for="SiteConfigEntity.WebmasterEmail" style="color:red;"></span>
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">公司名称</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.Company" placeholder="控制在25个字以内" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">公司地址</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.Address" placeholder="例：湖北省武汉市武昌区中南二路29号" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">联系电话</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteTel" placeholder="4008006600" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">联系电话1</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteTel1" placeholder="88888888" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">联系电话2</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteTel2" placeholder="15871358897" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">联系QQ</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteQQ" placeholder="123456789" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">联系QQ1</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteQQ1" placeholder="123456789" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">联系QQ2</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.SiteQQ2" placeholder="123456789" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">备案号</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.ICPNO" placeholder="京ICP备00000000号" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">版权信息</label>
							<div class="layui-input-block">
								<input type="text" asp-for="SiteConfigEntity.Copyright" placeholder="© 2020 www.baidu.com" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit lay-filter="set_website">确认保存</button>
								<span style="color:red; font-size:18px;">@Html.ValidationSummary(true)</span>
							</div>
						</div>
					</form>

				</div>
			</div>
		</div>
	</div>
